<!DOCTYPE html>
<head>
  <meta charset="UTF-8">
  <script>
    // Indexeddb
    window.indexedDB.open("DataBase", 3);

    // WebSQL
    var db = openDatabase('mydb', '1.0', 'Test', 2 * 1024 * 1024);
    db.transaction(function (tx) {
       tx.executeSql('CREATE TABLE IF NOT EXISTS LOGS (id unique, log)');
       tx.executeSql('INSERT INTO LOGS (id, log) VALUES (1, "foobar")');
    });
  </script>
</head>
<body>
  hi
</body>
